package com.wuhuahe.learning.lagou.service.user.mapper;

import com.wuhuahe.learning.lagou.service.user.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public User selectUserById(long id);

    public List<User> findByPaging();

    public User findByEmail(String email);

    public User findByEmailAndPassword(@Param("email") String email, @Param("password") String password);

    public int insertUser(User user);
}
